package com.yunhai.store.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yunhai.common.dto.PaginationVo;
import com.yunhai.model.entity.tms.TmsStoreEntity;
import com.yunhai.model.vo.tms.TmsStoreQuery;
import com.yunhai.model.vo.tms.TmsStoreVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface TmsStoreService {

    /**
     * 获取 TmsStore 分页列表
     */
    public IPage getTmsStorePagination(PaginationVo paginationVo, TmsStoreQuery tmsStoreQuery ) throws Exception;


    /**
     * 获取 TmsStore 所有数据
     *
    */
    public List<TmsStoreEntity> getTmsStoreAllList(TmsStoreQuery tmsStoreQuery ) throws Exception;


    /**
     * 获取 TmsStore 详情
    */
    public TmsStoreEntity getTmsStoreDetail( Long id) throws Exception;


    /**
     * 新增 TmsStore
     * */
    public void addTmsStore(TmsStoreVo tmsStoreVo) throws Exception;


    /**
     * 更新 TmsStore
     * */
    public void updateTmsStore( TmsStoreVo tmsStoreVo) throws Exception;

    /**
     * 删除 TmsStore
     * */
    public void batchRemoveTmsStore( List<Long> ids ) throws Exception;

    public void batchAddTmsStoreByExcelFile(MultipartFile file ) throws Exception;

    List<TmsStoreVo> getTmsStoreByIds(List<Long> ids) throws Exception;
}

      